package com.study.bean的属性注入;

/**
 * @author chenhs
 * @date 2019/9/7
 */
public class Car {
	 private  String color;
	public void  show(){
		System.out.println("这辆车是"+color+"色。");
	}
	public String getColor() {
		return color;
	}
	
	public void setColor(String color) {
		this.color = color;
	}
}
